package com.coocaa.typhoon.api.config;

import io.swagger.v3.oas.annotations.ExternalDocumentation;
import io.swagger.v3.oas.annotations.OpenAPIDefinition;
import io.swagger.v3.oas.annotations.info.Info;
import io.swagger.v3.oas.annotations.servers.Server;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.context.annotation.Configuration;

/**
 * @author xieguangcai
 */
@Configuration
@OpenAPIDefinition(
        info = @Info(
                title = "脚手架项目示例接口文档",
                version = "1.0.0",
                description = "脚手架项目示例接口文档"
        ),
        servers = @Server(
                url = "http://localhost:8556",
                description = "Local server"
        ),
        tags = {
                @Tag(name = "用户", description = "用户操作手册")
        },
        externalDocs = @ExternalDocumentation(
                url = "https://github.com/springdoc/springdoc-openapi",
                description = "Springdoc Github"
        )
)
public class SwaggerConfig {
}